package com.google.code.menino_de_barro.dao;

import java.util.ArrayList;

import com.google.code.menino_de_barro.model.Artesao;
import com.google.code.menino_de_barro.model.util.ArtesaoJaCadastradoException;
import com.google.code.menino_de_barro.model.util.CampoNuloouInvalidoException;

public interface InterfaceDAOArtesao {
	
	public abstract void teste();

	public abstract void incluir(Artesao a) throws CampoNuloouInvalidoException, ArtesaoJaCadastradoException;

	public abstract void excluir(Artesao a) throws CampoNuloouInvalidoException;

	public abstract void alterar(Artesao a) throws CampoNuloouInvalidoException;

	public abstract ArrayList<Artesao> listar();
	
	public abstract Artesao buscarArtesao(int id_Arte) throws CampoNuloouInvalidoException;
	
	public abstract String buscarNomeArtesao(int idArte);

	
	public abstract void instalar(boolean samples);
}
